// samsting : this file is auto create.

#include "Rds/2014-08-15/DescribeDBInstancesByExpireTimeRequest.h"

namespace aliyun { namespace Rds {

DescribeDBInstancesByExpireTimeRequest::DescribeDBInstancesByExpireTimeRequest() : RpcAcsRequest("Rds", "2014-08-15", "DescribeDBInstancesByExpireTime") {
}

int64 DescribeDBInstancesByExpireTimeRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void DescribeDBInstancesByExpireTimeRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& DescribeDBInstancesByExpireTimeRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void DescribeDBInstancesByExpireTimeRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 DescribeDBInstancesByExpireTimeRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void DescribeDBInstancesByExpireTimeRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& DescribeDBInstancesByExpireTimeRequest::GetClientToken(void) const {
  return ClientToken_;
}
void DescribeDBInstancesByExpireTimeRequest::SetClientToken(const string& ClientToken) {
  ClientToken_ = ClientToken;
  PutQueryParameter("ClientToken", ClientToken_);
}

const string& DescribeDBInstancesByExpireTimeRequest::GetproxyId(void) const {
  return proxyId_;
}
void DescribeDBInstancesByExpireTimeRequest::SetproxyId(const string& proxyId) {
  proxyId_ = proxyId;
  PutQueryParameter("proxyId", proxyId_);
}

int DescribeDBInstancesByExpireTimeRequest::GetExpirePeriod(void) const {
  return ExpirePeriod_;
}
bool DescribeDBInstancesByExpireTimeRequest::SetExpirePeriod(int ExpirePeriod) {
  if(ExpirePeriod < 1) {
    return false;
  }
  if(ExpirePeriod > 180) {
    return false;
  }
  ExpirePeriod_ = ExpirePeriod;
  PutQueryParameter("ExpirePeriod", string_ValueOfInt(ExpirePeriod_));
  return true;
}

int DescribeDBInstancesByExpireTimeRequest::GetPageSize(void) const {
  return PageSize_;
}
bool DescribeDBInstancesByExpireTimeRequest::SetPageSize(int PageSize) {
  if(PageSize > 100) {
    return false;
  }
  PageSize_ = PageSize;
  PutQueryParameter("PageSize", string_ValueOfInt(PageSize_));
  return true;
}

int DescribeDBInstancesByExpireTimeRequest::GetPageNumber(void) const {
  return PageNumber_;
}
bool DescribeDBInstancesByExpireTimeRequest::SetPageNumber(int PageNumber) {
  if(PageNumber < 1) {
    return false;
  }
  PageNumber_ = PageNumber;
  PutQueryParameter("PageNumber", string_ValueOfInt(PageNumber_));
  return true;
}

const string& DescribeDBInstancesByExpireTimeRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void DescribeDBInstancesByExpireTimeRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}


} } // namespace aliyun { namespace Rds {

// end of file 
